package com.xsr.service.impl;

import com.xsr.mapper.GoodsTypeMapper;
import com.xsr.pojo.GoodsType;
import com.xsr.service.GoodsTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 邢式瑞
 * @version 1.0
 * @project xiaomi
 * @date 2022/9/13 21:04
 */
@Service
public class GoodsTypeServiceImpl implements GoodsTypeService {
    @Autowired
    private GoodsTypeMapper goodsTypeMapper;
    @Override
    public List<GoodsType> findByLevel(int i) {
        return goodsTypeMapper.selectByLevel(i);
    }
}
